package com.ruoyi.business.service;

import java.util.List;

import com.ruoyi.business.domain.Customer;

/**
 * customerService接口
 *
 * @author honor
 * @date 2025-04-28
 */
public interface ICustomerService {
    /**
     * 查询customer
     *
     * @param id customer主键
     * @return customer
     */
    Customer selectCustomerById(String id);

    /**
     * 查询customer列表
     *
     * @param customer customer
     * @return customer集合
     */
    List<Customer> selectCustomerList(Customer customer);

    /**
     * 新增customer
     *
     * @param customer customer
     * @return 结果
     */
    boolean insertCustomer(Customer customer);

    /**
     * 修改customer
     *
     * @param customer customer
     * @return 结果
     */
    boolean updateCustomer(Customer customer);

    /**
     * 批量删除customer
     *
     * @param ids 需要删除的customer主键集合
     * @return 结果
     */
    boolean deleteCustomerByIds(String[] ids);

    /**
     * 删除customer信息
     *
     * @param id customer主键
     * @return 结果
     */
    boolean deleteCustomerById(String id);
}
